package com.lahuan.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * test1
 * </p>
 *
 * @author lahuan
 * @since 2021-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("test1")
@ApiModel(value="Test1对象", description="test1")
public class Test1 implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "测试ID")
    @TableField("test_id")
    private Long testId;

    @ApiModelProperty(value = "测试值")
    @TableField("test_value")
    private String testValue;


}
